﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XTeam.Document.Entities;

namespace XTeam.Document.Factory.ServiceInterface
{
    public interface IArticleClassifyService
    {
        int Append(IList<ArticleClassifyEntity> entities);
        int Append(ArticleClassifyEntity entity);
        int Delete(IList<int> ids);
        int Delete(int classiyfId);
        ArticleClassifyEntity Find(int classId = 0);
        IList<ArticleClassifyEntity> Search(Func<ArticleClassifyEntity, bool> filter);
        int Update(IList<ArticleClassifyEntity> entities);
        int Update(ArticleClassifyEntity entity);
        ArticleClassifyEntity Root();
    }
}
